package com.eclipse.org.snms.summary;

import java.util.ArrayList;

import com.eclipse.org.snms.StickyNote;
//import com.eclipse.org.snms.reminder.ReminderObserver;
//import com.eclipse.org.snms.reminder.SerializerSubject;

public class SummarySubjectConcrete implements SummarySubject {

	ArrayList<SummaryObserver> observers;
	ArrayList<StickyNote> stickyNoteList;
	
	
	/*public SummarySubjectConcrete(ReminderSubject reminder, SerializerSubject serializer)) {
		// initialise instance variables--- newly added by dimi
		observers = new ArrayList<SummaryObserver>();
		stickyNoteList = new ArrayList<StickyNote>();
		
		// subscribe as an observer to reminder subject
		//reminder.subscribe(this);
		
		// subscribe as an observer to serializer
		//serializer.subscribe(this);
	}*/

	
	
	@Override
	public void subscribe(SummaryObserver SO) {
		// TODO Auto-generated method stub
		observers.add(SO);
	}


	@Override
	public void unsubscribe(SummaryObserver SO) {
		// TODO Auto-generated method stub
		observers.remove(SO);
	}

	public void notify(StickyNote stickyNote)
	{
		// no-op
	}

}
